rule:
meta:
name: get current user on Linux
namespace: host-interaction/session
authors:
- joakim@intezer.com
scopes:
static: function
dynamic: thread
att&ck:
- Discovery::System Owner/User Discovery [T1033]
examples:
- 7351f8a40c5450557b24622417fc478d:0x405438
features:
- and:
- or:
- os: linux
- os: android
- or:
- api: geteuid
- api: getpwuid
- api: getlogin
- api: getlogin_r
- api: cuserid
last edited: 2024-04-23 11:49:05